package com.example.vae.Pojo;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.util.Date;

//基本用户信息类
@Entity(tableName = "person")
public class Person {

    @PrimaryKey
    private int personId;

//    @ColumnInfo(name = "personName")
    private String personName;

//    @ColumnInfo(name = "personPassword")
    private String personPassword;

//    @ColumnInfo(name = "personImgurl")
    private String personImgurl;

//    @ColumnInfo(name = "personSex")
    private int personSex;

//    @ColumnInfo(name = "personBirth")
    private String personBirth;

//    @ColumnInfo(name = "personHot")
    private int personHot;

    public String getPersonBirth() {
        return personBirth;
    }

    public void setPersonBirth(String personBirth) {
        this.personBirth = personBirth;
    }

    //    @ColumnInfo(name = "personGood")
    private int personGood;

//    @ColumnInfo(name = "personLevel")
    private int personLevel;

//    @ColumnInfo(name = "personExp")
    private int personExp;

//    @ColumnInfo(name = "personCity")
    private String personCity;

//    @ColumnInfo(name = "personTelephone")
    private String personTelephone;

//    @ColumnInfo(name = "personInformation")
    private String personInformation;

//    @ColumnInfo(name = "personSignature")
    private String personSignature;

    @Override
    public String toString() {
        return "Person{" +
                "personId=" + personId +
                ", personName='" + personName + '\'' +
                ", personPassword='" + personPassword + '\'' +
                ", personImgurl='" + personImgurl + '\'' +
                ", personSex=" + personSex +
                ", personBirth=" + personBirth +
                ", personHot=" + personHot +
                ", personGood=" + personGood +
                ", personLevel=" + personLevel +
                ", personExp=" + personExp +
                ", personCity='" + personCity + '\'' +
                ", personTelephone='" + personTelephone + '\'' +
                ", personInformation='" + personInformation + '\'' +
                ", personSignature='" + personSignature + '\'' +
                '}';
    }

    public int getPersonId() {
        return personId;
    }

    public void setPersonId(int personId) {
        this.personId = personId;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPersonPassword() {
        return personPassword;
    }

    public void setPersonPassword(String personPassword) {
        this.personPassword = personPassword;
    }

    public String getPersonImgurl() {
        return personImgurl;
    }

    public void setPersonImgurl(String personImgurl) {
        this.personImgurl = personImgurl;
    }

    public int getPersonSex() {
        return personSex;
    }

    public void setPersonSex(int personSex) {
        this.personSex = personSex;
    }


    public int getPersonHot() {
        return personHot;
    }

    public void setPersonHot(int personHot) {
        this.personHot = personHot;
    }

    public int getPersonGood() {
        return personGood;
    }

    public void setPersonGood(int personGood) {
        this.personGood = personGood;
    }

    public int getPersonLevel() {
        return personLevel;
    }

    public void setPersonLevel(int personLevel) {
        this.personLevel = personLevel;
    }

    public int getPersonExp() {
        return personExp;
    }

    public void setPersonExp(int personExp) {
        this.personExp = personExp;
    }

    public String getPersonCity() {
        return personCity;
    }

    public void setPersonCity(String personCity) {
        this.personCity = personCity;
    }

    public String getPersonTelephone() {
        return personTelephone;
    }

    public void setPersonTelephone(String personTelephone) {
        this.personTelephone = personTelephone;
    }

    public String getPersonInformation() {
        return personInformation;
    }

    public void setPersonInformation(String personInformation) {
        this.personInformation = personInformation;
    }

    public String getPersonSignature() {
        return personSignature;
    }

    public void setPersonSignature(String personSignature) {
        this.personSignature = personSignature;
    }
}